//character  arrays and pointers
#include <stdio.h>
#include <string.h>
void print(char *C)
{
	C[0] = 'A';
	while(*C != '\0')
	{
		printf("%C",*C);
		C++;
    }
	printf("\n");
}
int main()
{
	char C[20] = "Hello";
	print(C);
}

#include <stdio.h>
#include <string.h>
void print(const char *C)
{
	while(*C != '\0')
	{
		printf("%C",*C);
		C++;
    }
	printf("\n");
}
int main()
{
	char C[20] = "Hello";
	print(C);
}